<%
//证件领取
layout("/inc/layout.html",{
title:'证件领取',
keywords:'证件领取',
description:'证件领取',
style:'user.css'
}){
%>
<link rel="stylesheet" type="text/css" href="/static/start/static/css/public.min.css">
<section class="container mt20">
    <ul class="breadcrumb">当前位置：
        <li><a href="/">主页</a></li>
        <li>证明办理</li>
    </ul>
</section>
<div class="container">
    <!--快捷键-->
    <div class="mt15 text-center">
        <div id="cartList" class="panel panel-default ">
            <div class="panel-heading">
                <h4>正在以&emsp14;<b class="text-danger">${personal.name}</b>&emsp14;身份办理证明</h4>
            </div>
            <div class="panel-body">
                <div class="sudoku">

                    <div class="col-xs-4 col-sm-4 col-md-4 sudoku">
                        <button class="btn btn-lg btn-success btn-block" id="printDanshen" data-idcard="${personal.idCardNo!}"><i class="iconfont icon-danshen"></i><br/><b>打印婚姻状态查询单</b></button>
                    </div>

                    <!--
                    <div class="col-xs-4 col-sm-4 col-md-4 sudoku">
                        <button class="btn btn-lg btn-primary btn-block" id="printLaonian" data-idcard="${personal.idCardNo!}"><i class="iconfont icon-laonianren"></i><br/><b>打印老年证（纸质版）</b></button>
                    </div>
                     -->

                    <div class="col-xs-4 col-sm-4 col-md-4 sudoku">
                        <a class="btn btn-lg btn-warning btn-block"  href="/personal/laonianCard/${personal.idCardNo!}"><i class="iconfont icon-zhengjian"></i><br/><b>打印老年证（卡片版）</b></a>
                    </div>

                </div>
            </div>
            <div class="panel-footer">
                <a href="/start/scan" class="btn btn-lg btn-default mt5"><i class="iconfont icon-fanhui"></i>退出系统&emsp;</a>
            </div>
        </div>

    </div>
</div>

<% } %>
<script src="/static/start/modules/main.js"></script>
<script src="/static/start/modules/IDCard.js"></script>
<script src="/static/start/modules/CardPrint.js"></script>
<script src="/static/start/modules/A4Print.js"></script>
<script src="/static/start/modules/app.js"></script>
<script>
var cardDataJson = {};
  require(['modules/machine_personal'], function (personal) {
        personal.list('${webUrl}');
    });
</script>
</body>
</html>